package br.slic.eao;

import java.util.List;

import javax.ejb.Local;

import br.slic.exception.EAOException;

@Local
public interface EAO<T> {
	void persist(T object) throws EAOException;
	T saveOrUpdate(T object) throws EAOException;
	void remove(T object) throws EAOException;
	T selectById(long id) throws EAOException;
	List<T> getAll() throws EAOException;
}
